Nara BA System communication driver

 

Nara BA System communication driver is the driver to communicate with BA controller of Nara Control in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of  Nara BA System communication driver. 

<Figure 1>  Read setting example of Nara BA System communication driver

Device part of  <Figure 1> input Device Type(TCP/IP), IP address of PLC(192.168.0.4), service port number(5000) respectively, according to setting of controller.

Also you can set 'NET number of controller' (0 ~ 255, default : 0), 'Periodic read time'( 0 ~ 600000 milli seconds, default = 2000 ) by using option part. Each argument  is a comma-delimited.

 

Nara BA System communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) Station – 0 ~ 255 ISS number.

2) Read Point type – point type = AI, AO, AV, BI, BO, BV, MI, MO, MV. ( Refer to <Table 1> )

3) Read Module ID 0 ~ 255 module ID.

4) Save start address for Communication Server – saving start address of Communication Server.

5) Read Size – fixed to 1.

6) Point number – 0 ~ 255 point ID

 

Read schedule example) 

READ,     0,    AI,     0,    0,   1,   0,

;READ,     0,    AI,     0,    1,   1,   1,

;READ,     0,    AI,     0,    2,   1,   2,

READ,     0,    BI,     0,    3,   1,    0,

 

Note) The readed data of 'COV' packet data save at ' ; ' read schedule ( Start character =  ; )

Also, when received ¡®COV¡¯ event data, thed read data save adequate NET, ISS, Module, Point number and Point Type of read schedule.

 

<Table 1> of read command and contents of Nara BA System communication driver.

 

Read command

Contents

Data saving address

AI

read of Analog Input

Start addr + 0 : readed data

AO

read of Analog Output

AV

read of Analog Value

BI

read of Binary Input

BO

read of Binary Output

BV

read of Binary Value

MI

read of Multistate Input

MO

read of Multistate Output

MV

read of Multistate Value

<Table 1> Read command and contents of Nara BA System communication driver

Nara BA System communication driver store the same data in WORD, DWORD, FLOAT memory, but the data format are different.

 If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of Nara BA System communication driver¡¯s Option dialogue box

You can set read schedule by using , , button and listbox of <Figure 2>. 

Also, you can set use of NET number of controller, Periodic read time by using the part of  ¡®NET No.¡¯, 'Periodic Read Time' shown in <Figure 2>.

<Figure 3> Example of Nara BA Systemcommunication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Write settings

You can set Point value and COV Point by using write settings.

  

Digital Write

Digital write and analog write have the same setting parameters except output value(0 or 1). 

 

Analog write

Analog write setting parameters are as follows:

1) PORT : Port no. (0 ~ 255)

2) STATION : 0 ~ 255 ISS number.

3) ADDRESS :  0 ~ 255 module ID( decimal unit ).

4) EXTRA 1 : write command : CONTROL.xx, COV.xx, UNCOV.xx.

 xx = AI, AO, AV, BI, BO, BV, MI, MO, MV ( Point Type )

CONTROL.xx : point value setting command,

COV.xx : register command of COV point for setting ISS, Module, Point number.

UNCOV.xx : unregister command of COV point for setting ISS, Module, Point number.

5) EXTRA 2 : 0 ~ 255 point number.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0002, Extra1:CONTROL.AI, Extra : 3

The setting parameter shown above is point value setting example for 1 ISS, 2 Module, 3 Point analog input.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0003, Extra1:COV.BI, Extra : 5

The setting parameter shown above is register setting example to COV point  for 1 ISS, 3 Module, 5 Point binary input.

 

Block write

Nara BA System communication driver don't support 'Block Write'.